.PHONY:all

all:udpserver udpclient

udpserver:udpserver.cpp
	g++ -o $@ $^ -std=c++14 -lpthread

udpclient:udpclient.cpp
	g++ -o $@ $^ -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -f udpclient udpserver